package com.dataseek.iot.device.manager.vo;

import java.io.Serializable;

/**
 * @author cc
 * @Title: 固件更新进度vo
 * @Description: 固件更新进度vo
 * @date 2021/10/39:30 上午
 * @since 1.0
 */
public class UpgradeProgressVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long timestamp;

    private int progress;

    private boolean complete;

    private String version;

    private boolean success;

    private String errorReason;

    private String firmwareId;

    @Override
    public String toString() {
        return "UpgradeProgressVo{" +
                "timestamp:" + timestamp +
                ", progress:" + progress +
                ", complete:" + complete +
                ", version:'" + version + '\'' +
                ", success:" + success +
                ", errorReason:'" + errorReason + '\'' +
                ", firmwareId:'" + firmwareId + '\'' +
                '}';
    }
}
